export default function EmailIcon({ lightColor, darkColor }: any) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="62"
      height="48"
      viewBox="0 0 62 48"
      fill="none"
    >
      {/* Light mode */}
      <path
        className="block dark:hidden"
        d="M61.0625 7.8125V40.1875C61.0625 44.019 57.9565 47.125 54.125 47.125H7.875C4.04353 47.125 0.9375 44.019 0.9375 40.1875V7.8125M61.0625 7.8125C61.0625 3.98102 57.9565 0.875 54.125 0.875H7.875C4.04352 0.875 0.9375 3.98102 0.9375 7.8125M61.0625 7.8125V8.56086C61.0625 10.97 59.8127 13.2066 57.7609 14.4692L34.6359 28.7C32.4062 30.0722 29.5938 30.0722 27.3641 28.7L4.23907 14.4692C2.18733 13.2066 0.9375 10.97 0.9375 8.56086V7.8125"
        stroke={lightColor}
        stroke-width="1.5"
        stroke-linecap="round"
        stroke-linejoin="round"
      />
      {/* dark mode */}
      <path
        className=" hidden dark:block"
        d="M61.0625 7.8125V40.1875C61.0625 44.019 57.9565 47.125 54.125 47.125H7.875C4.04353 47.125 0.9375 44.019 0.9375 40.1875V7.8125M61.0625 7.8125C61.0625 3.98102 57.9565 0.875 54.125 0.875H7.875C4.04352 0.875 0.9375 3.98102 0.9375 7.8125M61.0625 7.8125V8.56086C61.0625 10.97 59.8127 13.2066 57.7609 14.4692L34.6359 28.7C32.4062 30.0722 29.5938 30.0722 27.3641 28.7L4.23907 14.4692C2.18733 13.2066 0.9375 10.97 0.9375 8.56086V7.8125"
        stroke={darkColor}
        stroke-width="1.5"
        stroke-linecap="round"
        stroke-linejoin="round"
      />
    </svg>
  );
}
